package entity

type AiQuestionConsultStatics struct {
	Id            int64   `gorm:"column:id;primary_key" json:"id"`
	QuestionId    int64   `gorm:"column:question_id;type:bigint;not null" json:"question_id"`
	QuestionTopic string  `gorm:"column:question_topic;type:varchar(255);not null" json:"question_topic"`
	Questioner    string  `gorm:"column:questioner;type:varchar(255);not null" json:"questioner"`
	Avg           float64 `gorm:"column:avg;type:double;not null" json:"avg"`
	Count         int     `gorm:"column:count;type:integer;not null" json:"count"`
	RankType      int     `gorm:"column:rank_type;type:integer;not null" json:"rank_type"`
	CreatedAt     int64   `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
	UpdatedAt     int64   `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
}

func (a *AiQuestionConsultStatics) TableName() string {
	return "ai_question_consult_statics"
}
